package com.ruoyi.system.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 登陆日志对象 st_login_log
 * 
 * @author shihx
 * @date 2020-04-03
 */
public class LoginLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 邮箱（登陆账号） */
    @Excel(name = "邮箱", readConverterExp = "登=陆账号")
    private String email;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 登陆状态 1成功 2失败 */
    @Excel(name = "登陆状态 1成功 2失败")
    private String loginState;

    /** cc端返回的信息 */
    @Excel(name = "cc端返回的信息")
    private String message;

    /** 用于消息推送 */
    @Excel(name = "用于消息推送")
    private String registrationId;

    /** 手机的唯一标识 */
    @Excel(name = "手机的唯一标识")
    private String phoneUuid;

    /** 版本名称 */
    @Excel(name = "版本名称")
    private String versionName;

    /** 版本号 */
    @Excel(name = "版本号")
    private String versionCode;

    /** 设备型号，手机型号 */
    @Excel(name = "设备型号，手机型号")
    private String model;

    /** 手机系统版本号 */
    @Excel(name = "手机系统版本号")
    private String osversion;

    /** 服务条款主键ID */
    @Excel(name = "服务条款主键ID")
    private Long appVersionId;

    /** CC端接口调用日志表主键ID */
    @Excel(name = "CC端接口调用日志表主键ID")
    private Long siolId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setLoginState(String loginState) 
    {
        this.loginState = loginState;
    }

    public String getLoginState() 
    {
        return loginState;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setRegistrationId(String registrationId) 
    {
        this.registrationId = registrationId;
    }

    public String getRegistrationId() 
    {
        return registrationId;
    }
    public void setPhoneUuid(String phoneUuid) 
    {
        this.phoneUuid = phoneUuid;
    }

    public String getPhoneUuid() 
    {
        return phoneUuid;
    }
    public void setVersionName(String versionName) 
    {
        this.versionName = versionName;
    }

    public String getVersionName() 
    {
        return versionName;
    }
    public void setVersionCode(String versionCode) 
    {
        this.versionCode = versionCode;
    }

    public String getVersionCode() 
    {
        return versionCode;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setOsversion(String osversion) 
    {
        this.osversion = osversion;
    }

    public String getOsversion() 
    {
        return osversion;
    }
    public void setAppVersionId(Long appVersionId) 
    {
        this.appVersionId = appVersionId;
    }

    public Long getAppVersionId() 
    {
        return appVersionId;
    }
    public void setSiolId(Long siolId) 
    {
        this.siolId = siolId;
    }

    public Long getSiolId() 
    {
        return siolId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("email", getEmail())
            .append("password", getPassword())
            .append("loginState", getLoginState())
            .append("message", getMessage())
            .append("registrationId", getRegistrationId())
            .append("phoneUuid", getPhoneUuid())
            .append("versionName", getVersionName())
            .append("versionCode", getVersionCode())
            .append("model", getModel())
            .append("osversion", getOsversion())
            .append("appVersionId", getAppVersionId())
            .append("siolId", getSiolId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
